﻿using Abp.Application.Services;
using AVIS.OutBound.OrderPay.Dto;
using AVIS.OutBound.SMS.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace AVIS.OutBound.OrderPay
{
    /// <summary>
    /// 订单支付
    /// </summary>
    public interface IOrderPayLogService : IApplicationService
    {

        /// <summary>
        /// 订单支付（测试阶段）
        /// </summary>
        /// <param name="type">支付方式</param>
        /// <param name="orderNo">商户订单号</param>
        /// <param name="subject">商品名称</param>
        /// <param name="amount">金额（元）</param>
        [HttpGet]
        void Pay(string type,string orderNo,string subject,string amount);

        /// <summary>
        /// 支付宝支付回调
        /// </summary>
        [HttpPost]
        void CbAliPay();
    }
}
